#pragma once
#include "Component.h"
#include <DirectXMath.h>
#include <vector>
class Transform :public Component
{
protected:
	DirectX::XMFLOAT3 m_translation;
	DirectX::XMFLOAT3 m_rotation;
	DirectX::XMFLOAT3 m_scale;
public:
	Transform();
	Transform(float* _position);
	Transform(std::vector<float>position);
	~Transform();
	void Translate(float directionX, float directionY, float directionZ);
	void Rotate(float radianX, float radianY, float radianZ);
	void Scale(float scaleTimesX, float scaleTimesY, float scaleTimesZ);
	DirectX::XMFLOAT3 GetPosition();
	DirectX::XMFLOAT3 GetRotation();
	DirectX::XMFLOAT3 GetScale();
	DirectX::XMMATRIX GetWorldMatrix();
	DirectX::XMMATRIX GetLocalMatrix();
};